<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>AIS甘特图</title>
    <link rel="stylesheet" type="text/css" href="codebase/dhtmlxgantt.css">
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <link rel="stylesheet" href="lib/snippets/dhx_file_dnd.css">

    <script src="codebase/dhtmlxgantt.js?v=5.2.0"></script>
    <script src="codebase/locale/locale_cn.js?v=5.2.0"></script>
    <script src="codebase/ext/dhtmlxgantt_tooltip.js?v=5.2.0"></script>
    <script src="codebase/ext/dhtmlxgantt_marker.js?v=5.2.0"></script>
    <script src="lib/snippets/dhx_file_dnd.js?v=5.2.0"></script>
    <script src="codebase/ext/dhtmlxgantt_undo.js?v=5.2.0"></script>

    <script src="https://export.dhtmlx.com/gantt/api.js"></script>
    <!-- <script src="codebase/ext/dhtmlxgantt_smart_rendering.js"></script> -->
</head>
<body>
    <div class="filter">
        <div class="row">
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 form-inline">
                <select onchange="fn.startType(this)" class="form-control">
                    <option value="0">周末施工</option>
                    <option value="1">周末不施工</option>
                </select>
            </div>
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 text-left">
                <!--<span class="label label-success">已完成</span>-->
                <!--<span class="label label-danger">超期中</span>-->
                <!--<span class="label label-info">进行中</span>-->
                <!--<span class="label label-default">未开始</span>-->
                <input value="撤销" type="button" class="btn btn-sm btn-danger" onclick='gantt.undo()'>
                <input value="重做" type="button" class="btn btn-sm btn-info" onclick='gantt.redo()'>
            </div>
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 text-right">
                <form id="mspImport" action="" method="POST" enctype="multipart/form-data" style="display: none">
                    <input type="file" id="mspFile" name="file"
                           accept=".mpp,.xml, text/xml, application/xml, application/vnd.ms-project, application/msproj, application/msproject, application/x-msproject, application/x-ms-project, application/x-dos_ms_project, application/mpp, zz-application/zz-winassoc-mpp"
                           onchange="importSubmit();" />
                    <button id="mspImportBtn" type="submit">Load</button>
                </form>
                <button role="button" class="btn btn-info" onclick="importGantt();">打开</button>
                <button role="button" class="btn btn-primary" onclick="gantt.exportToMSProject();">保存</button>
                <button role="button" class="btn btn-danger" onclick="gantt.exportToPDF();">导出PDF</button>
                <button role="button" class="btn btn-danger" onclick="gantt.exportToExcel();">导出Excel</button>
            </div>
        </div>
    </div>
    <div id="gantt_here"></div>
    <!--<script src="js/main.js"></script>-->
    <script src="js/testdata.js"></script>
    <script src="js/index.js"></script>
</body>
</html>

